<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>菜单</title>
    <script type="text/javascript" src="/js/jquery-3.6.0.min.js"></script>
</head>
<body style="overflow: hidden" >
<div id="menu123"></div>
</body>
<script>
    $(function (){
        $.ajax({
            url:"/menu/getMenu",
            type:"post",
            dataType:"html",
            success:function (data){
                $("#menu123").html(data);
            },error:function (){
                alert("查询失败");
            }

        })
    })
</script>
</html>